package stores;

import java.sql.SQLException;
import java.util.Calendar;
import java.util.List;

import workspace.Workspace;
import beans.Foglalas;

public interface FoglalasStore {

	List<Foglalas> loadFoglalasFromDate(Workspace workspace, Calendar fromDate)
			throws SQLException;

	Foglalas loadFoglalasById(Workspace workspace, long foglalasId)
			throws SQLException;

	Foglalas insertFoglalas(Workspace workspace, Foglalas newFoglalas)
			throws SQLException;

	boolean updateFoglalas(Workspace workspace, Foglalas updatedFoglalas)
			throws SQLException;

	public boolean deleteFoglalas(Workspace workspace, long foglalasId)
			throws SQLException;
}
